const { defaultTheme } = require('@vuepress/theme-default')
module.exports = {
  title: '文档中心',
  description: '欢迎使用',
  home: '/',
  base: '/docs/',
  theme: defaultTheme({
    lastUpdated: false,
    contributors: false,
    navbar: [
      { 
        text: '指令', 
        link: '/guide/' 
      },
      { 
        text: '技术', 
        children: [
          {
          text: '概述',
          link: '/tech/'
          }
        ]
      },
      { 
        text: '技巧', 
        children: [
          {
          text: '技巧',
          link: '/skilled/'
          }
        ]
      }
    ],
    // 设置菜单
    sidebar: {
      '/tech/': [
        {
          text: '概述',
          collapsible: true,
          children: ['/tech/index.md'],
        },
      ],
      '/skilled/': [
        {
          text: '技巧',
          collapsible: true,
          children: ['/skilled/index.md'],
        },
      ]
    }
  })
}